package com.ykq.controller;

import com.ykq.service.BranchSerivce;
import com.ykq.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 闫克起
 * @Description:
 * @Date: Create in 11:53 2024/10/22
 */
@RestController
@RequestMapping("/branch")
public class BranchController {
    @Autowired
    private BranchSerivce branchSerivce;

    @GetMapping("/list")
    public R list()
    {
        return branchSerivce.list();
    }
}
